import java.io.File;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Hua YY
 * Date: 2024-10-02
 * Time: 10:45
 */
public class IODemon6 {
    public static void main(String[] args) {
        File file1 = new File("./aaa/bbb/ccc/bbb");
        File file2 = new File("./bbb");
        boolean ret = file2.renameTo(file1);//把bbb这个文件移入"./aaa/bbb/ccc"的/ccc下
        System.out.println(ret);
    }

}
